//
//  UIColor+Extension.swift
//  weibo19
//
//  Created by Arvin on 15/11/14.
//  Copyright © 2015年 Arvin. All rights reserved.
//

import UIKit

extension UIColor {
    class func randomColor() -> UIColor {
        let r = (CGFloat)(random()%255) / 255.0
        let g = (CGFloat)(random()%255) / 255.0
        let b = (CGFloat)(random()%255) / 255.0
        return UIColor(red: r, green: g, blue: b, alpha: 1.0) 
    }
    
}

